
header{
    width: 100%;
    height: 204px;
}

/*主体内容样式*/
main{
    width: 100%;
    .main-header{
        height: 40px;
        background-color: #f5f5f5;
        .main-hd{
            width: 1226px;
            height: 40px;
            margin: 0 auto;
            p{
                line-height: 40px;
                font-size: 14px;
                color: #616161;
                a{
                    color: #616161;
                }
                a:hover{
                    color: #333;
                }
                span{
                    color: #b0b0b0;
                }
            }
        }
    }
    .depic{
        width: 1226px;
        height: 625px;
        margin: 0 auto;
        border-bottom: 1px solid #e0e0e0;
        position: relative;
        .zoom-image {
            width: 400px;
            float: left;
            margin-top: 79px;
            margin-left: 25px;
        }
        .imgs {
            width: 400px;
            overflow: hidden;
           position: absolute;
           left: 20px;
           bottom: 60px;
        }

        .imgs li {
            float: left;
            margin: 10px 10px 0 0;
        }

        .imgs a {
            display: block;
            border: 1px solid #dddddd;
        }

        .imgs .zoomGalleryActive {
            border: 1px solid #f00;
        }

        .imgs li .smallpic {
            width: 55px;
            height: 55px;
        }
        .details-info{
            float: left;
            width: 530px;
            height: 460px;
            margin: 79px 0 86px 72px;
            .title{
                height: 110px;
                h3{
                    font-size: 20px;
                    color: #666666;
                }
                p{
                    margin: 16px 0 12px 0;
                }
                &-p1{
                    color: #808080;
                    font-size: 12px;
                }
                &-p2{
                    color: #df3033;
                    font-size: 12px;
                }
            }
            .price{
                height: 125px;
                background-color: #F5F5F5;
                padding: 15px;
                box-sizing: border-box;
               .price-p1{
                   font-size: 12px;
                   color:#808080; 
                   text-decoration: line-through;
                   margin-top:10px ;
               }
               .price-p2{
                   font-size: 12px;
                   color:#808080;
                   margin: 10px 0; 
                   height: 35px;
                   line-height: 35px;
                   .span1{
                       color: #c50000;
                       font-size: 16px;
                   }
                   .span2{
                    color: #c50000;
                   font-size: 26px;
                   }
               }
               .price-p3{
                   margin-top: 10px;
                   color: #df3033;
                   font-size: 12px;
               }
            }
            .freight{
                height: 18px;
                margin-top: 10px;
                font-size: 12px;
                span{
                    display: inline-block;
                    margin-left: 5px;
                   background-color: #EBB658;
                   color: #fff;
                   padding: 2px;
                   box-sizing: border-box;
                }
            }
            .shopcart{
                height: 187px;
                .color{
                   margin-top: 10px;
                    p{
                        font-size: 12px;
                        float: left;
                        margin-right: 10px;
                        line-height: 35px;
                    }
                    ul{
                        float: left;
                        li{
                            float: left;
                            width: 46px;
                            height: 35px;
                            cursor: pointer;
                            background-color: #b0b0b0 ;
                            margin-left: 14px;
                            margin-bottom: 14px;
                            color: #fff;
                            font-size: 12px;
                            line-height: 35px;
                            padding: 0 10px;
                            box-sizing: border-box;
                            border: 1px solid #dfdfdf;
                        }
                    }
                }
                .num{
                    width: 530px;
                    margin-top: 10px;
                    height: 22px;
                    float: left;
                    p{
                        font-size: 12px;
                        input{
                            width: 35px;
                            height: 16px;
                            margin: 0 3px;
                            text-align: center;
                        }
                        a{
                            color:#333;
                        }
                        a:hover{
                            color: orangered;
                        }
                    }
                }
                .stock{
                    float: left;
                    width: 530px;
                    margin-top: 10px;
                    p{
                        font-size: 12px;
                    }
                }
                .btn{
                    float: left;
                    width: 530px;
                    margin-top: 20px;
                    height:42px;
                    margin-bottom: 10px;
                    div{
                        width: 178px;
                        height: 40px;
                        float: left;
                        font-size: 14px;
                        font-weight: bold;
                        line-height: 40px;
                        text-align: center;
                        cursor: pointer;
                    }
                    .btn-left{
                        border: 1px solid #ce4444;
                        background-color: #FFF0F5;
                        margin-right: 20px;
                        a{
                            color: #ce4444;
                        }
                    }
                    .btn-right{
                        background-color:#a92121;
                        a{
                            color: #fff;
                        }
                    }
                }
                .shopcart-p{
                    float: left;
                    font-size: 14px;
                    color: #df3033;
                }
            }
        }
    }
}
.toshopcart{
    width: 80px;
    height: 80px;
    position: fixed;
    right:10px;
    top:50%;
    background-color:#a92121;
    p{
        width: 80px;
        text-align: center; 
        font-size: 14px;
        line-height: 30px;
        color: #fff;
        a{
            color: #fff;
        }
    }
}
.fly {
    width: 20px;
    height: 20px;
    background-color: #EBB658;
    position: absolute;
  }
footer{
    height: 513px;
}